<template>
	<view class="yaoqing">
		<image class="bg" src="https://smyl.qingkangqingyang.com/storage/uploads/sys/tuiguang_03.jpg" mode=""></image>
		<view class="content">
			<view style="color:black;font-size: 36rpx;">{{userinfo.userNickname}}</view>
			<view class="pic">
				<image class="c_img" :src="userinfo.aqcode" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				userinfo:''
			}
		},
		onLoad() {
			uni.setNavigationBarTitle({
			    title: '推广'
			});
			this.userinfo=uni.getStorageSync('user');
		},
		methods:{
			
		}
	}
</script>

<style scoped lang="scss">
	.yaoqing{
		width: 100%;
		.bg{
			position: fixed;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
		}
		.content{
			text-align: center;
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			top: 940rpx;
			font-size: 30rpx;
			color: #FFFFFF;
			.pic{
				background-color: #FFFFFF;
				width: 250rpx;
				height: 250rpx;
				display: flex;
				justify-content: center;
				align-items: center;
				.c_img{
					width: 250rpx;
					height: 250rpx;
				}
			}
		}
	}
</style>
